<?php

class Blog extends AppModel {

    var $name = 'Blog';
	var $hasMany =array(
		'Comment' => array(
			'className' => 'Comment',
			'foreignKey'=>'blog_id',
			'dependent'=> true
			),
		'Reply' =>array(
			'className'=>'Reply',
			'foreignKey'=>'blog_id',
			'dependent'=>true
		)
		);
	



}

?>
